import request from "../../util/request";
/**
 *
 * @param {*} data
 * @returns 添加数据
 */
export const add = (data) => {
  return request.post("/weibo", data);
};

export const getAll = (data) => {
  return request.get("/weibo", { params: data });
};
